package com.lanjiu.lib.imclient.bus;

/**
 * @description:
 * @author: Panwei
 * @date: 2019/11/6 21:10
 */
public interface EventConstants {

    interface Event {
        int SERVER_MESSAGE_READER = 1000;
        int SERVER_MESSAGE_SENDER = 1001;

        int UI_REFRESH_NOTIFICATION = 1002;
    }

    interface Action {
        int GROUP_REFRESH = 2001;
        int GROUP_CHAT_ADD = 2002;
        int GROUP_NAME_CHANGED = 2003;
        int NOTIFY_NUMBER_CHANGED = 2004;
        int DELETE_GROUP = 2005;    // 被踢出群
        int CHAT_REFRESH = 2006;
        int DELETE_FRIEND = 2007;    // 被删除好友
        int DISSOLVE_GROUP = 2008;    // 解散群
        int EXIT_GROUP = 2009;      // 退出群
        int GROUP_MEMBER_COUNT_REFRESH = 2010; // 刷新群成员数量
        int CHAT_REFRESH_AND_FRIEND = 2011;//刷新无痕与联系人
        int ON_DELETE_HISTORY = 2012;   // 退出清理后刷新聊天列表
        int CHAT_MSG_RECEIVE = 2013;   // 聊天消息接收动作
        int MESSAGE_CLEAR = 2014;   // 消息清理动作

        // 注册
        int REGISTER = 100;

        // 登录
        int LOGIN_TOURISTS = 101;
        int LOGIN_REGISTERED = 102;

        // 登出
        int LOGOUT_TOURISTS = 103;
        int LOGOUT_REGISTERED = 104;

        // 查找好友
        int FRIEND_FIND_TOURISTS = 105;
        int FRIEND_FIND_REGISTERED = 106;

        // 获取好友列表
        int FRIEND_LIST_TOURISTS = 107;
        int FRIEND_LIST_REGISTERED = 108;

        // 好友资料
        int FRIEND_INFO_TOURISTS = 109;
        int FRIEND_INFO_REGISTERED = 110;

        // 更新好友在线状态
        int FRIEND_ONLINE_STATUS_TOURISTS = 111;
        int FRIEND_ONLINE_STATUS_REGISTERED = 112;

        // 申请加好友
        int FRIEND_APPLY_TOURISTS = 113;
        int FRIEND_APPLY_REGISTERED = 114;

        // 同意好友申请
        int FRIEND_APPLY_AGREE_TOURISTS = 115;
        int FRIEND_APPLY_AGREE_REGISTERED = 116;

        // 拒绝好友申请
        int FRIEND_APPLY_REFUSE_TOURISTS = 117;
        int FRIEND_APPLY_REFUSE_REGISTERED = 118;

        // 删除好友
        int FRIEND_DELETE_TOURISTS = 119;
        int FRIEND_DELETE_REGISTERED = 120;

        // 查找群组
        int GROUP_FIND_TOURISTS = 121;
        int GROUP_FIND_REGISTERED = 122;

        // 获取群组列表
        int GROUP_LIST_TOURISTS = 123;
        int GROUP_LIST_REGISTERED = 124;

        // 创建群
        int GROUP_CREATE_TOURISTS = 125;
        int GROUP_CREATE_REGISTERED = 126;

        // 群资料
        int GROUP_INFO_TOURISTS = 127;
        int GROUP_INFO_REGISTERED = 128;

        // 更新群成员在线状态
        int GROUP_MEMBER_ONLINE_STATUS_TOURISTS = 129;
        int GROUP_MEMBER_ONLINE_STATUS_REGISTERED = 130;

        // 邀请入群
        int GROUP_MEMBER_INVITE_TOURISTS = 131;
        int GROUP_MEMBER_INVITE_REGISTERED = 132;

        // 同意邀请
        int GROUP_MEMBER_INVITE_AGREE_TOURISTS = 133;
        int GROUP_MEMBER_INVITE_AGREE_REGISTERED = 134;

        // 拒绝邀请
        int GROUP_MEMBER_INVITE_REFUSE_TOURISTS = 135;
        int GROUP_MEMBER_INVITE_REFUSE_REGISTERED = 136;

        // 申请入群
        int GROUP_MEMBER_APPLY_TOURISTS = 137;
        int GROUP_MEMBER_APPLY_REGISTERED = 138;

        // 同意申请
        int GROUP_MEMBER_APPLY_AGREE_TOURISTS = 139;
        int GROUP_MEMBER_APPLY_AGREE_REGISTERED = 140;

        // 拒绝申请
        int GROUP_MEMBER_APPLY_REFUSE_TOURISTS = 141;
        int GROUP_MEMBER_APPLY_REFUSE_REGISTERED = 142;

        // 删除群成员
        int GROUP_MEMBER_DELETE = 1430;
        int GROUP_MEMBER_EXIT = 1431;

        int GROUP_MEMBER_DELETE_TOURISTS = 143;
        int GROUP_MEMBER_DELETE_REGISTERED = 144;

        // 新增群公告
        int GROUP_ANNOUNCEMENT_INSERT_TOURISTS = 145;
        int GROUP_ANNOUNCEMENT_INSERT_REGISTERED = 146;

        // 修改群公告
        int GROUP_ANNOUNCEMENT_UPDATE_TOURISTS = 147;
        int GROUP_ANNOUNCEMENT_UPDATE_REGISTERED = 148;

        // 删除群公告
        int GROUP_ANNOUNCEMENT_DELETE_TOURISTS = 149;
        int GROUP_ANNOUNCEMENT_DELETE_REGISTERED = 150;

        // 更新群公告
        int GROUP_ANNOUNCEMENT_SELECT_TOURISTS = 151;
        int GROUP_ANNOUNCEMENT_SELECT_REGISTERED = 152;

        // 设置昵称
        int PERSONAL_NICKNAME_TOURISTS = 153;
        int PERSONAL_NICKNAME_REGISTERED = 154;

        // 设置头像
        int PERSONAL_AVATAR_TOURISTS = 155;
        int PERSONAL_AVATAR_REGISTERED = 156;

        // 获取验证码
        int VERIFICATION_CODE = 157;
        int VERIFICATION_CODE_NO_LOGIN = 1570;

        // 重置密码-验证
        int RESET_SECRET_VERIFY = 158;

        // 重置密码-更改
        int RESET_SECRET = 159;
        int RESET_SECRET_NO_LOGIN = 1590;

        // 设置手机
        int SETUP_PHONE = 160;

        // 修改手机
        int SETUP_PHONE_EDIT = 161;

        // 设置-是否接收离线消息
        int PERSONAL_OFFLINE_MSG_TOURISTS = 162;
        int PERSONAL_OFFLINE_MSG_REGISTERED = 163;

        // 设置-好友阅后即焚
        int PERSONAL_FRIEND_SNAPCHAT_TOURISTS = 164;
        int PERSONAL_FRIEND_SNAPCHAT_REGISTERED = 165;

        // 设置-好友阅后即焚时长
        int PERSONAL_FRIEND_SNAPCHAT_LENGTH_TOURISTS = 166;
        int PERSONAL_FRIEND_SNAPCHAT_LENGTH_REGISTERED = 167;

        // 设置-群阅后即焚开关
        int PERSONAL_GROUP_SNAPCHAT_TOURISTS = 168;
        int PERSONAL_GROUP_SNAPCHAT_REGISTERED = 169;

        // 设置-群阅后即焚时长
        int PERSONAL_GROUP_SNAPCHAT_LENGTH_TOURISTS = 170;
        int PERSONAL_GROUP_SNAPCHAT_LENGTH_REGISTERED = 171;

        // 设置-是否每次退出清理
        int PERSONAL_EXIT_CLEAN_TOURISTS = 172;
        int PERSONAL_EXIT_CLEAN_REGISTERED = 173;

        // 设置-定期清理周期
        int PERSONAL_TIMER_CLEAN_TOURISTS = 174;
        int PERSONAL_TIMER_CLEAN_REGISTERED = 175;

        // 设置好友备注
        int FRIEND_ALIAS_TOURISTS = 176;
        int FRIEND_ALIAS_REGISTERED = 177;

        // 好友设置阅后即焚
        int FRIEND_SNAPCHAT_TOURISTS = 178;
        int FRIEND_SNAPCHAT_REGISTERED = 179;

        // 设置阅后即焚时长
        int FRIEND_SNAPCHAT_LENGTH_TOURISTS = 180;
        int FRIEND_SNAPCHAT_LENGTH_REGISTERED = 181;

        // 好友设置是否离线消息接收
        int FRIEND_OFFLINE_MSG_TOURISTS = 182;
        int FRIEND_OFFLINE_MSG_REGISTERED = 183;

        // 设置群名称
        int GROUP_NAME_TOURISTS = 184;
        int GROUP_NAME_REGISTERED = 185;

        // 设置阅后即焚开关
        int GROUP_SNAPCHAT_TOURISTS = 186;
        int GROUP_SNAPCHAT_REGISTERED = 187;

        // 设置阅后即焚时长
        int GROUP_SNAPCHAT_LENGTH_TOURISTS = 188;
        int GROUP_SNAPCHAT_LENGTH_REGISTERED = 189;

        // 设置群成员群昵称
        int GROUP_MEMBER_NICK_TOURISTS = 190;
        int GROUP_MEMBER_NICK_REGISTERED = 191;

        // 设置群成员备注
        int GROUP_MEMBER_ALIAS_TOURISTS = 192;
        int GROUP_MEMBER_ALIAS_REGISTERED = 193;

        // 通知列表
        int NOTIFICATIONS_TOURISTS = 194;
        int NOTIFICATIONS_REGISTERED = 195;

        // 系统通知
        int SYS_NOTIFICATIONS = 196;

        // 用户消息通知
        int USER_NOTIFICATIONS_TOURISTS = 198;
        int USER_NOTIFICATIONS_REGISTERED = 199;

        // 单人聊天(1v1)
        int FRIEND_CHAT_TOURISTS = 200;
        int FRIEND_CHAT_REGISTERED = 201;

        // 多人聊天(群聊)
        int GROUP_CHAT_TOURISTS = 202;
        int GROUP_CHAT_REGISTERED = 203;

        //删除好友离线消息的指令
        int DEL_FRIEND_OFF_MESSAGE_REGIST = 204;
        int DEL_FRIEND_OFF_MESSAGE_TOURIST = 205;

        //离线消息推送成功返回响应（删除好友离线消息）
        int OFF_MESSAGE_SEND_REGIST = 206;
        int OFF_MESSAGE_SEND_TOURIST = 207;

        int CHAT_SEND_CALLBACK = 3000;

        int GROUP_CHART_OFF_LINE_MSG = 208;

        int CHECK_FOR_UPDATES = 30000;

        // 删除群消息
        int DEL_GROUP_OFF_MESSAGE = 209;

        // 获取系统设置信息
        int PERSONAL_SETTINGS_INFO = 210;
    }
}
